package com.definity.toolkit.ui.widget;

import javax.swing.JOptionPane;

public class Popup {

	private Popup() {

	}
	
	public static void message(String message) {
		JOptionPane.showMessageDialog(null, message);
	}

	public static void warningMessage(String message) {
		JOptionPane.showMessageDialog(null, message, "Warning", JOptionPane.WARNING_MESSAGE);
	}

	public static void errorMessage(String message) {
		JOptionPane.showMessageDialog(null, message, "Error", JOptionPane.ERROR_MESSAGE);
	}

	public static int confirmMessage(String message) {
		return JOptionPane.showConfirmDialog(null, message);
	}
	
}
